/**
 * Filename: YNPhoto.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/3/8 14:27
 */
package com.github.postsanf.yinian.bean;
/**
 * 照片
 */
public class YNPhoto extends BaseBean
{
    private int    eid;										// EID
    private int    pid;									 	// 图片ID
    private String url;										// 图片地址
    private String thumbnail;                                  //缩略图地址
    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNPhoto) {
            return this.pid == ((YNPhoto) o).pid;
        }
        return super.equals(o);
    }
}